home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Killer Drive 64 7
/
Killer-Drive_64_07_19xx_-_de_Side_A.d64
/
tank fighter 3d
(
.txt
)
< prev
Wrap
Commodore BASIC
|
2023-02-26
|
17KB
|
123 lines
10 sys6854:clr:gosub6000:poke31759,1:poke650,127:sys23000
20 n=24376:m=24489:o=31734:p=31733:h=0
30 pl=1:am=30:ty=1:a=23567:i$=chr$(34):dimsc(6)
40 poke198,0:gosub10000
45 gosub50:goto100
50 onty goto60,70,80
60 poke31732,0:poke31744,1:poke31755,1:poke780,4:poke782,40:sys22960
65 return
70 poke31732,1:poke31744,2:poke31755,3:poke780,2:poke782,25:sys22960
75 return
80 poke31732,1:poke31744,4:poke31755,4:poke780,1:poke782,13:sys22960
90 return
100 ifpl>1then500
110 s=0:pq=1:gosub1000
120 poke53269,0:sys22584
130 print"[147][156][207][206][197] [208][204][193][217][197][210]"
140 print"[149][211]core"s*100
150 ifs>hthenh=s
160 print"[150][200]i score"h*100
170 gosub400
180 goto40
200 sys22584:print""
210 forc=1topl:print"[156]";:ifc=b-1thenprint"[159]";
215 print"[208][204][193][217][197][210]"c"[158] [211][195][207][210][197]"sc(c)*100:next
220 gosub400
230 return
300 sys22584:print"[159][208][204][193][217][197][210]"b
310 gosub400
320 return
400 poke198,0:ford=1to250
410 getin$:ifin$<>""thenreturn
420 nextd:return
500 forb=1topl
505 gosub50
510 gosub200:gosub300
520 s=0:pq=b:gosub1000
530 ifs>sc(b)thensc(b)=s
540 nextb:gosub200
550 goto40
1000 sys22880:poke198,0:poke631,0:sys24336:gosub5000
1010 sysn:ifpeek(o)then1100
1020 s=s+(peek(p)-128):ifs<0thens=0
1030 sysm,peek(a),s:goto1010
1100 poke54276,0:sys22688:sys23444
1105 poke53269,0:ford=1to16:sys22804:ford1=1to30:next:ifd=5thensys22854
1110 next:poke198,0
1120 sys22688
1130 ford=1to1500:next
1140 return
5000 print""tytab(16)""pq;:poke23567,am
5010 print"";
5020 sys24432,h:print"00[157][157][157][157][157][157][157][157][157][157][157][157][157]00000[157][157]";:sysm,peek(a),s:return
6000 poke54296,15:poke54273,50:poke54277,9:poke54278,0:poke54276,0:return
6010 poke54276,17:ford=1to400:next:poke54276,0:return
10000 printchr$(8):sys22584
10010 print"[156]"i$"[212][193][206][216]"i$"[153] [193] program by [196]k'[212]ronics.":print"[208][210][197][211][211]"
10020 print"[153]"i$"[201]"i$" [129]'[201][206][198][207]'.":print"[153]"i$"[195]"i$" [129]for [195][200][193][206][199][197] game type."
10030 print"[153]"i$"1"i$" [129]to change to 1 [208][204][193][217][197][210] game."
10040 print"[153]"i$"2"i$" [129]for 2 [207][210] [205][207][210][197] players."
10050 print"[151][193]ny other key for no change."
10060 print"[149](1 or 2 will zero [193][204][204] scores.)"
10070 print"[208][210][197][211][211]":ford=1to30:getin$:ifin$<>""then10080
10072 next:print"[208][210][197][211][211]"
10074 ford=1to30:getin$:ifin$<>""then10080
10076 next:goto10070
10080 ifin$="c"orin$="[195]"then11000
10090 ifin$="i"orin$="[201]"then12000
10100 ifin$="1"then13000
10110 ifin$="2"then14000
10120 return
11000 print"[147]":poke53280,11:poke53281,11:poke31759,1
11010 print"[208][210][197][211][211]"
11020 print" [159]1. [198]or [197][193][211][201][197][210] start."
11030 print" [159]2. [156][198]or [205][207][196][197][210][193][212][197] start."
11040 print" [159]3. [158][198]or [196][201][198][198][201][195][213][204][212] start."
11045 print""left$("",ty*2)"[159]*"
11046 print"";
11050 print" [158]4. [153][198]or rationed [193][205][205][207]."
11060 print" [158]5. [153][198]or stock of [193][205][205][207]."
11063 ifam<>200thenprint"[145][145][145][158]*[157]";
11066 ifam=200thenprint"[145][158]*[157]";
11068 print"[151]";:ifpeek(31759)=0thenprint"[152]";
11070 print"*[152]6. [154][198]or [208][210][193][195][212][201][195][197]. ([212]ank fire harmless.)"
11080 print"[150][210]. [212]o [210]eturn."
11090 print"[208][210][197][211][211]":ford=1to30
11092 getin$:ifin$<>""then11100
11094 next:print"[208][210][197][211][211]"
11096 ford=1to30:getin$:ifin$<>""then11100
11098 next:goto11090
11100 ifin$="r"orin$="[210]"then10000
11110 ifval(in$)<1orval(in$)>6then11090
11120 gosub11140:onval(in$)gosub11200,11300,11400,11500,11600,11700
11130 goto11010
11140 print" [207].[203]. [146]";
11150 gosub6000:gosub6010:print"[157][157][157][157][157][157][157][157] ":return
11200 ty=1:poke31759,1
11210 return
11300 ty=2:poke31759,1
11310 return
11400 ty=3:poke31759,1
11410 return
11500 am=30:return
11600 am=200:return
11700 poke31759,0:return
12000 print"[147]":poke53280,1:poke53281,1
12010 print"[159][193][195][212][201][214][197] [212]anks .......[212][213][210][210][197][212].. 500[157][157][157][157][157][157][157][157][157][157][157][157][200][213][204][204].... 200"
12020 print"[156][201][205][205][207][194][201][204][201][211][197][196] [212]anks ..[212][213][210][210][197][212].. 200"
12030 print"[152][212]anks [207][214][197][210] [194][210][201][196][199][197] ....[205][201][206][213][211] 100[157][157][157][157][157][157][157][157][157][157][156][183][183][183][183][183]"
12040 print"[155][203][197][217][211] :":print"[158][199]un left and right "i$"[215]"i$" [154]"i$"[197]"i$
12050 print"[158][199]un up and down [152]"i$"[198]1"i$" [150]"i$"[198]5"i$
12060 print"[158][200]old [156]"i$"[200]"i$"[159] ([193]ny key releases.)"
12070 print"[158][198]ire "i$"[211][208][193][195][197]"i$
12075 print"[207]r use a joystick in [208][207][210][212] 1."
12080 print"[152][208]ressing [210][197][212][213][210][206] will abandon any game.";
12090 getin$:ifin$=""then12090
12100 goto10000
13000 pl=1:s=0:h=0:return
14000 print"[147]":poke53280,6:poke53281,6:s=0:h=0
14010 print"[158][200]ow many players ? [156](max 6)"
14020 getin$:ifin$=""then14020
14030 ifval(in$)<2orval(in$)>6then14020
14040 pl=val(in$):return